//
//  MainViewController.h
//  drawacartoon
//
//  Created by Ji Hu on 12-7-6.
//  Copyright (c) 2012年 爱辅导. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DragTableView.h"
#import "CreateCartoonViewController.h"
#import "ViewCartoonViewController.h"

@protocol MainViewControllerDelegate <NSObject>

-(void)openDrawCartoonViewController:(id)params;

@end

@interface MainViewController : UIViewController<CreateCartoonDelegate,ItemViewDelegate,ViewCartoonDelegate>

@property(nonatomic,retain) IBOutlet DragTableView *dragTableView;
@property(nonatomic,retain) IBOutlet UIButton *createButton;
@property(nonatomic,retain) UIPopoverController *popOver;
@property(nonatomic,retain) id<MainViewControllerDelegate> delegate;

-(IBAction)addOneCartoon:(id)sender;

@end
